projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29a0dc6
)
(sys_gmtime): Don't assume year < 2000.
author
Karl Heuer
<kwzh@gnu.org>
Sun, 14 Jul 1996 00:03:45 +0000
(
00:03
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sun, 14 Jul 1996 00:03:45 +0000
(
00:03
+0000)
src/vmstime.c
patch
|
blob
|
history
diff --git
a/src/vmstime.c
b/src/vmstime.c
index 4c4f2c0ae68ff0abb91fff4224861cd2fbd5e1a9..4eec5d0a4de61f3deb49d7ad21ab033dc3985d79 100644
(file)
--- a/
src/vmstime.c
+++ b/
src/vmstime.c
@@
-357,7
+357,7
@@
struct tm *sys_gmtime(time_t *clock)
gmt.tm_hour = tmp_vectime.hour;
gmt.tm_mday = tmp_vectime.day;
gmt.tm_mon = tmp_vectime.month - 1;
- gmt.tm_year = tmp_vectime.year
% 1
00;
+ gmt.tm_year = tmp_vectime.year
- 19
00;
tmp_operation = LIB$K_DAY_OF_WEEK;
status = LIB$CVT_FROM_INTERNAL_TIME(&tmp_operation,